package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linkhub.oms.common.enums.mp.DataStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 物流运费模板表
 * </p>
 *
 * @author Frank
 * @since 2024-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_logistic_freight_template")
@ApiModel(value = "LogisticFreightTemplateEntity对象", description = "物流运费模板表")
public class LogisticFreightTemplateEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模板名称")
    @TableField("Ftemplate_name")
    private String templateName;

    @ApiModelProperty(value = "模板生效日期")
    @TableField("Feffective_date")
    private LocalDateTime effectiveDate;

    @ApiModelProperty(value = "模板失效日期")
    @TableField("Fexpiration_date")
    private LocalDateTime expirationDate;

    @ApiModelProperty(value = "渠道编码")
    @TableField("Fchannel_code")
    private String channelCode;

    @ApiModelProperty(value = "渠道中文名称")
    @TableField("Fchannel_c_name")
    private String channelCName;

    @ApiModelProperty(value = "渠道英文名称")
    @TableField("Fchannel_e_name")
    private String channelEName;

    @ApiModelProperty(value = "国家编码")
    @TableField("Fcountry_code")
    private String countryCode;

    @ApiModelProperty(value = "国家分区")
    @TableField("Fcountry_partition")
    private String countryPartition;

    @ApiModelProperty(value = "计泡系数")
    @TableField("Fbubble_coefficient")
    private Integer bubbleCoefficient;

    @ApiModelProperty(value = "最低计费重量")
    @TableField("Fminimum_chargeable_weight")
    private BigDecimal minimumChargeableWeight;

    @ApiModelProperty(value = "实际费用币种")
    @TableField("Factual_fee_currency_type")
    private String actualFeeCurrencyType;

    @ApiModelProperty(value = "进位方式 1：默认（不进位） 2：向上取整")
    @TableField("Fcarry_method")
    private Integer carryMethod;

    @ApiModelProperty(value = "操作人用户id")
    @TableField("Fupdate_user_id")
    private String updateUserId;

    @ApiModelProperty(value = "创建人用户id")
    @TableField("Fcreated_user_id")
    private String createdUserId;

    @ApiModelProperty(value = "数据状态：1-有效；0-无效")
    @TableField("Fdata_status")
    private DataStatusEnum dataStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
